<?php

namespace App\Models;

use App\Models\CommonModel as Model;
/**
 * Class UserMeeting
 * @package App\Models
 * @version July 14, 2018, 3:52 pm CST
 *
 * @property int user_id
 * @property int meeting_id
 * @property smallint type
 * @property string barcode
 */
class UserMeeting extends Model
{
    const BARCODE = 'http://iccdn.xiaojili.cn/barcode.jpeg';
    const B = 10; // baoming
    const C = 11; // canjia

    public $table = 'user_meeting';

    public $fillable = [
        'user_id',
        'meeting_id',
        'type',
        'barcode',
        'code',
        'status',
        'post_uri',
        'type',
        'name',
        'email',
        'company',
        'job',
        'mobile',
        'packages',
        'category',
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'barcode' => 'string'
    ];

    /**
     * Validation rules
     *
     * @var array
     */
    public static $rules = [
        
    ];

    
}
